<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>单词发音播放</title>
</head>
<body>
<h1>单词发音播放示例</h1>

<!-- 显示的单词 -->
<p>单词: Apple</p>

<!-- Audio 标签 -->
<audio id="audioPlayer">
    <source src="http://dict.youdao.com/dictvoice?audio=apple&type=2" type="audio/mpeg">
    您的浏览器不支持播放音频。
</audio>

<!-- 播放按钮 -->
<button onclick="playAudio()">点击播放发音</button>

<script>
    // 播放音频的函数
    function playAudio() {
        var audio = document.getElementById('audioPlayer');
        audio.play();
    }
</script>
</body>
</html>